package com.trace.app.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.trace.app.entity.ResponseResult;
import com.trace.app.entity.User;


/**
 * 用户表(User)表服务接口
 *
 * @author lionkliu
 * @since 2024-03-15 17:27:01
 */
public interface UserService extends IService<User> {
    ResponseResult selectPage(Integer pageNum, Integer pageSize);

    ResponseResult selectOne(Integer id);

    ResponseResult insertOne(User user);

    ResponseResult deleteById(Integer id);

    ResponseResult updateOne(User user);

    ResponseResult login(User user);

    ResponseResult register(User user);

    ResponseResult search(Integer pageNum, Integer pageSize, Integer userType, String username);
}

